package com.learning.service.user.impl;

import com.learning.mapper.UserMapper;
import com.learning.model.UserDO;
import com.learning.service.user.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public UserDO findUserByUsername(String username) {
        return userMapper.findUserByUsername(username);
    }
}
